/* stylelint-disable property-no-vendor-prefix */

/*
 * Globals
 */

/* Links */
a,
a:focus,
a:hover {
  color: #fff;
}

/* Custom default button */
.btn-default,
.btn-default:hover,
.btn-default:focus {
  color: #6F8DFF;
  text-shadow: none; /* Prevent inheritance from `body` */
  background-color: #fff;
  border: 1px solid #fff;
}


/*
 * Base structure
 */

html,
body {
  height: 100%;
  background-color: #6F8DFF;
}
body {
  color: #fff;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .5);
}

/* Extra markup and styles for table-esque vertical and horizontal centering */
.site-wrapper {
  display: table;
  width: 100%;
  height: 100%; /* For at least Firefox */
  min-height: 100%;
  -webkit-box-shadow: inset 0 0 250px rgba(57, 96, 245, 0.9);
  box-shadow: inset 0 0 250px rgba(57, 96, 245, 0.9);
}
.site-wrapper-inner {
  display: table-cell;
  vertical-align: top;
}
.cover-container {
  margin-right: auto;
  margin-left: auto;
}

/* Padding for spacing */
.inner {
  padding: 30px;
}


/*
 * Header
 */
.masthead-brand {
  margin-top: 10px;
  margin-bottom: 10px;
}

.masthead-nav > li {
  display: inline-block;
}
.masthead-nav > li + li {
  margin-left: 20px;
}
.masthead-nav > li > a {
  padding-right: 0;
  padding-left: 0;
  font-size: 16px;
  font-weight: 700;
  color: #fff; /* IE8 proofing */
  color: rgba(255, 255, 255, .75);
  border-bottom: 2px solid transparent;
}
.masthead-nav > li > a:hover,
.masthead-nav > li > a:focus {
  background-color: transparent;
  border-bottom-color: #a9a9a9;
  border-bottom-color: rgba(255, 255, 255, .25);
}
.masthead-nav > .active > a,
.masthead-nav > .active > a:hover,
.masthead-nav > .active > a:focus {
  color: #fff;
  border-bottom-color: #fff;
}

@media (min-width: 768px) {
  .masthead-brand {
    float: left;
  }
  .masthead-nav {
    float: right;
  }
}


/*
 * Cover
 */

.cover {
  padding: 0 20px;
}
.cover .btn-lg {
  padding: 10px 20px;
  font-weight: 700;
}


/*
 * Footer
 */

.mastfoot {
  color: #999; /* IE8 proofing */
  color: rgba(255, 255, 255, .5);
}


/*
 * Affix and center
 */

@media (min-width: 768px) {
  /* Pull out the header and footer */
  .masthead {
    position: fixed;
    top: 0;
  }
  .mastfoot {
    position: fixed;
    bottom: 0;
  }
  .site-wrapper-inner {
    vertical-align: middle; /* Start the vertical centering */
  }
  .masthead,
  .mastfoot,
  .cover-container {
    width: 100%; /* Must be percentage or pixels for horizontal alignment */
  }
}

@media (min-width: 992px) {
  .masthead,
  .mastfoot,
  .cover-container {
    width: 700px;
  }
}

/* 封面介绍文本样式 */
.lead {
  /*font-family: 'Georgia', serif; *//* 设置字体为Georgia，如果不可使用，则使用serif */

  font-family: "幼圆", sans-serif;
  font-size: 18px; /* 设置字体大小 */
  line-height: 1.5; /* 设置行高 */
  color: #fff; /* 设置字体颜色，与之前设置的阴影颜色相匹配 */
}

.logo {
  display: inline-block; /* 使logo和文字在同一行显示 */
  vertical-align: middle; /* 垂直居中对齐 */
  margin-right: 10px; /* logo和文字之间的间距 */
  height: auto; /* 高度自适应 */
  width: 50px; /* 根据实际logo尺寸调整宽度 */
}

.about-modal {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s, transform 0.5s;
  transform: translateY(100%);
  z-index: 1000;
}

.about-modal-content {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  width: 80%;
  max-width: 600px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: absolute;
  bottom: 0;
  transform: translateY(100%);
  transition: transform 0.5s;
}

.about-modal:target {
  opacity: 1;
  transform: translateY(0);
}

.about-modal:target .about-modal-content {
  transform: translateY(0);
}

.inner.cover {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 100vh; /* 使用视口高度来使容器高度占满整个视窗 */
  padding: 20px;
}

.cover-heading {
  margin-bottom: 0.5em; /* 调整标题和段落之间的间距 */
  font-size: 2.5em; /* 调整标题字体大小 */
}

.lead {
  font-size: 1.2em; /* 调整段落字体大小 */
  color: #fff; /* 如果需要的话，可以调整文字颜色 */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); /* 添加文字阴影以增强可读性 */
  max-width: 600px; /* 设置段落的最大宽度 */
  margin: 0.5em 0; /* 调整段落之间的间距 */
}